package  
{
	import flash.display.MovieClip;
	import flash.events.Event;
	import flash.events.KeyboardEvent;
	
	/**
	 * ...
	 * @author Victor Cruz e Bringel
	 */
	public class Main extends MovieClip
	{

		
		public static var instance: Main;
		public var MC_tela:MovieClip = new MovieClip();
		
		public function Main() 
		{
			instance = this; 
			
			stage.addEventListener(Event.ENTER_FRAME, update);
			addChild(MC_tela);
			
			LevelManager.current = new Menu();
		}
		

		
		public function update(e:Event):void
		{
			LevelManager.update();
		}
	}

}